Bug 552668 – format not a string literal and no format arguments in
authorChristian Persch <chpe@src.gnome.org>
Wed, 17 Sep 2008 19:56:19 +0000 (19:56 +0000)
committerChristian Persch <chpe@src.gnome.org>
Wed, 17 Sep 2008 19:56:19 +0000 (19:56 +0000)
gtkimmodule

svn path=/trunk/; revision=21416

ChangeLog
gtk/gtkimmodule.c

index 51d324ff37c6810bab65638899885a4769918f59..bec4cc73161ffecae5ff3e780306efd1813dd64e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-09-17  Christian Persch  <chpe@gnome.org>
+
+       Bug 552668 – format not a string literal and no format arguments in
+       gtkimmodule
+
+       * gtk/gtkimmodule.c: (gtk_im_module_load): Use %s with g_warning here.
+
 2008-09-17  Christian Persch  <chpe@gnome.org>
 
        Bug 552667 – gtkimage containing gicon leaks memory
index a8c9afb364c0c6cfe94456aaaf4d0dfc2e713784..8a2fdeed5625b247547d0d9aedfb5aba32443690 100644 (file)
@@ -101,7 +101,7 @@ gtk_im_module_load (GTypeModule *module)
       im_module->library = g_module_open (im_module->path, G_MODULE_BIND_LAZY | G_MODULE_BIND_LOCAL);
       if (!im_module->library)
        {
-         g_warning (g_module_error());
+         g_warning ("%s", g_module_error());
          return FALSE;
        }
   
@@ -115,7 +115,7 @@ gtk_im_module_load (GTypeModule *module)
          !g_module_symbol (im_module->library, "im_module_create", 
                            (gpointer *)&im_module->create))
        {
-         g_warning (g_module_error());
+         g_warning ("%s", g_module_error());
          g_module_close (im_module->library);
          
          return FALSE;